//
//  DoctorsIfonModel.m
//  KYProject
//
//  Created by Roman on 16/12/25.
//  Copyright © 2016年 Roman. All rights reserved.
//

#import "DoctorsIfonModel.h"
#import "NetWorkManager.h"

@implementation DoctorsIfonModel

- (NSString *)description
{
    return [self yy_modelDescription];
}


#pragma mark -
#pragma mark -  所有医生信息列表
+ (void)getDoctorsIfonModellistComplete:(void(^)(NSArray<DoctorsIfonModel *> *modelList))completeBlock
{
    NSDictionary *paramDic = @{@"login_token":@"985c96ce43bb5ef69de3e1ad8afaa83f",@"ci1_id":@(1),@"ci2_id":@(3),@"ci3_id":@(3),@"diagnosis_type":@(0),@"is_confirmed":@(1),@"user_id":@(1000089),@"complications":[NSArray new],@"has_diagnosis":@(2)};
    
    [[NetWorkManager sharedManage] loadDoctorsIfonWithParmas:paramDic completeBlock:^(NSArray<DoctorsIfonModel *> *modelList, NSError *error) {
        
        completeBlock(modelList);
        
    } errorBlock:^(NSString *error) {
        
        
        
    }];
}

//#pragma mark -
//#pragma mark - 被关注的医生信息列表
//+ (void)getAttentionDoctorsIfonModellistWithUserId:(NSNumber *)userId Complete:(void(^)(NSArray<DoctorsIfonModel *> *modelList))completeBlock
//{
//    [[NetWorkManager sharedManage] loadAttentionDoctorListWithUserID:userId pageSize:15 page:1 completeBlock:^(NSArray<DoctorsIfonModel *> *modelList, NSError *error) {
//        
//        completeBlock(modelList);
//        
//    } errorBlock:^(NSString *error) {
//        
//        NSLog(@"获取数据错误");
//        NSLog(@"%@",error);
//        
//    }];
//    
//}

@end
